home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
shark_at.swf
/
scripts
/
DefineSprite_69
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-03-13
|
267b
|
8 lines
x = _parent._x + _parent._parent._x;
y = _parent._y + _parent._parent._y;
if(x < _root.mascot._x + 20 && _root.mascot._x - 20 < x && y < _root.mascot._y + 40 && _root.mascot._y - 40 < y)
{
_root.lives = _root.lives + 1;
_parent.gotoAndStop("collect");
}